/*
 * @Descripttion: 
 * @version: 
 * @Author: MichaelHu
 * @Date: 2021-11-19 14:49:30
 * @LastEditors: MichaelHu
 * @LastEditTime: 2021-12-31 17:18:20
 */
#ifndef __UART_PROCESS_H
#define __UART_PROCESS_H
#include "fifo.h"
#include "main.h" 

#define FIFO_BUF_LENGTH 512
#define uartCNDTR uartFifo->CNDTR

typedef enum
{
    OK = 1,
    CRC_NG,
    LEN_NG,
    NG,
} Process_RES_TypeDef;


extern FIFOTYPE *uartFifo;


void data_analysis(void);

#endif
